package br.edu.unifei.cct810.projetofinal.utils;

import java.awt.Color;

import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;

public class Constantes {
	
	public static final Color COR_ERRO = new Color(255, 190, 180);
	public static final Color COR_OK = new Color(162, 221, 152);
	public static final Color COR_LIMPA = new Color(255, 255, 255);
	
	public static SimpleAttributeSet BOLD_PRETO = new SimpleAttributeSet();
	public static SimpleAttributeSet AZUL = new SimpleAttributeSet();
	public static SimpleAttributeSet PRETO = new SimpleAttributeSet();
	public static SimpleAttributeSet VERDE = new SimpleAttributeSet();
	public static SimpleAttributeSet VERMELHO = new SimpleAttributeSet();	
	
	static {		    
		    StyleConstants.setForeground(BOLD_PRETO, Color.black);
		    StyleConstants.setBold(BOLD_PRETO, true);
		    StyleConstants.setFontFamily(BOLD_PRETO, "Monaco");
		    StyleConstants.setFontSize(BOLD_PRETO, 11);
		    
		    StyleConstants.setForeground(AZUL, Color.BLUE);
		    StyleConstants.setBold(AZUL, false);
		    StyleConstants.setFontFamily(AZUL, "Monaco");
		    StyleConstants.setFontSize(AZUL, 12);		    
	
		    StyleConstants.setForeground(PRETO, Color.BLACK);
		    StyleConstants.setBold(PRETO, false);		    
		    StyleConstants.setFontFamily(PRETO, "Monaco");
		    StyleConstants.setLineSpacing(PRETO, (float) 2.0);
		    StyleConstants.setFontSize(PRETO, 12);
			
		    StyleConstants.setForeground(VERDE, Color.decode("#008000"));
		    StyleConstants.setBold(VERDE, false);		    
		    StyleConstants.setFontFamily(VERDE, "Monaco");
		    StyleConstants.setFontSize(VERDE, 12);		    
		    
		    StyleConstants.setForeground(VERMELHO, Color.RED);
		    StyleConstants.setBold(VERMELHO, false);		    
		    StyleConstants.setFontFamily(VERMELHO, "Monaco");
		    StyleConstants.setFontSize(VERMELHO, 12);	
	}
}
